package org.funny.machine32.hardware.common;

public abstract class AbstractProcessor implements IProcessor {

    public MachineState run(MachineState start) {
        MachineState state = start;
        while (!state.isHalt()) {
            state = step(state);
        }
        return state;
    }

}
